package com.read.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (BookChapterResp)实体类
 *
 * @author makejava
 * @since 2022-11-05 14:49:39
 */
@Data
@TableName("book_chapter")
public class BookChapter implements Serializable {
    private static final long serialVersionUID = 704751214641739101L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 所属图书
     */
    @TableField("book_id")
    private Integer bookId;
    /**
     * 章节名称
     */
    @TableField("chapter_name")
    private String chapterName;
    /**
     * 章节内容
     */
    private String content;
    /**
     * 锁章状态(0:无,1:锁章)
     */
    @TableField("lock_status")
    private Object lockStatus;
    /**
     * 排序
     */
    @TableField("sort_number")
    private Integer sortNumber;
    /**
     * 创建者
     */
    private String creater;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 更新者
     */
    private String updater;



}

